package net.xuele.learn.base;

import org.springframework.transaction.support.TransactionSynchronizationAdapter;

/**
 * Created by huanghao（HIKARI） on 2019/7/4 0004.
 */
public class People extends TransactionSynchronizationAdapter {
    private String name;
    private String sex;
    private Integer age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {

        return name + "--" + age + "---" + sex;
    }
}
